package com.dc.java8._1_lambda;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Person {
	private String firstName,lastName,job,gender;
	private Integer age;
	private Double salary;
	private Status status;

	public Person(String lastName) {
		this.lastName = lastName;
	}

	public Person(Integer age, String lastName) {
		this.lastName = lastName;
		this.age = age;
	}

	public Person(String firstName, String lastName, String job, String gender, Integer age, Double salary) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.job = job;
		this.gender = gender;
		this.age = age;
		this.salary = salary;
	}

	public enum Status{
		FREE,BUSY,VOCATION;
	}

}
